Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[packaging] Make bootstrap.sh aware of multiple architectures and fetch always a fresh pip #3041

Merged
merged 4 commits into from
Nov 8, 2023

Conversation

vkarak
Copy link
Contributor

@vkarak vkarak commented Nov 3, 2023

This PR adds support for multiple architectures. It achieves so by (a) installing external dependencies under an arch-specific directory, (b) having bin/reframe set up the sys.path based on the current architecture.

This PR detaches ./bootstrap.sh from a system-wide pip installation. We instead create a venv without pip and we fetch the latest pip through get-pip.py.

NOTE: bootstrap.sh now requires curl but no more the python3-venv in Ubuntu-based systems

Depends on #3042.

@vkarak vkarak self-assigned this Nov 4, 2023
@vkarak vkarak marked this pull request as draft November 5, 2023 22:40
@vkarak vkarak marked this pull request as ready for review November 6, 2023 20:58
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dc01139) 86.70% compared to head (36e919c) 86.70%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3041   +/-   ##
========================================
  Coverage    86.70%   86.70%           
========================================
  Files           61       61           
  Lines        11996    11996           
========================================
  Hits         10401    10401           
  Misses        1595     1595           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vkarak vkarak merged commit 5885292 into reframe-hpc:develop Nov 8, 2023
25 checks passed
@vkarak vkarak deleted the packaging/support-multiarch branch November 8, 2023 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants